﻿// ReSharper disable CheckNamespace

using System.Web.Mvc;
using Zavand.Web.Mvc.Manana.SampleWebsite.Controllers.My.Actions.Post;

namespace Zavand.Web.Mvc.Manana.SampleWebsite.Controllers.My
// ReSharper restore CheckNamespace
{
    public partial class MyController
    {
        public ActionResult Post(Route r)
        {
            var m = GetModel<Model, Route, MyController>(r, this);
            m.Notes = "test | ";
            return View(m);
        }

        [HttpPost]
        public ActionResult Post(Route r, Model m, FormCollection cc)
        {
            m.SetupModel(this, r);

            return View(m);
        }
    }
}